/*!
 * Page: pages/form/index/index
 * License: MIT
 * Created: 2019-08-29 11:44
 */
@import '../../var';
page {
  background-color: $bgcolor-gray;
}

.flex-align-center {
  display: flex;
  align-items: center;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.address {
  width: 48rpx;
  height: 48rpx;
  margin-left: 50rpx;
}

.order-list {
  margin-top: 20rpx;
  padding: 24rpx 30rpx;
  background: #fff;
  .list-title {
    padding-bottom: 24rpx;
    font-size: 30rpx;
    font-weight: bold;
  }
  .item {
    margin-bottom: 16rpx;
    flex-direction: column;
    width: 100%;
    color: $text-color;
    background-color: $bgcolor-light;
    border-radius: 10rpx;
    .productInfo {
      display: flex;
      width: 100%;
      height: 120rpx;
      margin-top: 20rpx;
      background-color: $bgcolor-gray;
      .productImg {
        width: 120rpx;
        height: 120rpx;
        image {
          width: 100%;
          height: 100%;
        }
      }
      .productPrice {
        display: flex;
        flex: 1;
        align-items: center;
        justify-content: space-between;
        height: 100%;
        padding: 18rpx 20rpx 18rpx 20rpx;
        .title {
          color: $title-color;
          font-size: 24rpx;
        }
        .productCount {
          color: $info-color;
          font-size: 22rpx;
          text-align: right;
          &-price {
            color: $title-color;
            font-weight: 600;
          }
        }
        .options {
          color: $info-color;
          font-size: 20rpx;
        }
      }
    }
    .productFooter {
      display: flex;
      flex: 1;
      align-items: center;
      justify-content: space-between;
      padding: 24rpx 0;
      .price {
        color: $title-color;
        font-size: 24rpx;
        text {
          color: $info-color;
        }
      }
    }
  }
  .order-row {
    margin-top: 8rpx;
    font-size: 26rpx;
    color: $info-color;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}

.container {
  margin-top: 20rpx;
  background: #fff;
}
.row {
  width: 690rpx;
  height: 106rpx;
  margin: 0 auto;
  border-bottom: 1rpx solid $border-color;
  display: flex;
  align-items: center;
  font-size: 30rpx;
  .title {
    margin-right: 24rpx;
    color: $title-color;
  }
  .content {
    flex: 1;
  }
}

.submit-wrap {
  height: 200rpx;
  background: #fff;
}
.submit {
  background: #fff;
  button {
    height: 88rpx;
    line-height: 88rpx;
    color: #fff;
    border-radius: 44rpx;

    &:disabled {
      background-color: #e4e5e5;
      color: $title-color;
    }
  }
}

//样式重置
wx-radio .wx-radio-input.wx-radio-input-checked {
  border-color: $primary-color !important;
  background-color: $primary-color !important;
  &:before {
    content: "\EA08";
    color: #ffffff;
    font-size: 18px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -48%) scale(0.73);
  }
}
